<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="ie6 ielt8"> <![endif]-->
<!--[if IE 7 ]>    <html lang="en" class="ie7 ielt8"> <![endif]-->
<!--[if IE 8 ]>    <html lang="en" class="ie8"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<title>TPN ReImagine Retail</title>
<link rel="stylesheet" type="text/css" href="../style.css" />
<style>
.containerlogin {
	margin: 25px auto;
	position: relative;
	width: 370px;
}
input[readonly], textarea[readonly] {
  color:black !important;
  cursor: default;
  background-color: threedface !important;
}

</style>
</script>
<?php 
include_once('../function/AlarmReveal.html');
session_start();
if(isset($_SESSION['ID']))
{
	$id = $_SESSION['ID'];
	if($id == "admin")
	{
	?>
	</head>
	<body>
	<div class="containerlogin">
		<div class="logo"><img src="../images/Logo TPN-02.png" alt="TPN" class="login-logo"></div>
	<section id="content">
		<div class="login-seasonal">
		SEASONAL PULSE</div>
		  <form action="addUser.php" method="post">
			<div>
				  <input name="userid" type="text" placeholder="Username" required id="username" />
			  </div>
				<div>
				  <input name="userpwdefault" type="password" placeholder="***" required id="password" readonly="readonly" />
				</div>
				<div>
				  <input class="green" type="submit" value="Add New User" />
				</div>
		</form>
			</section>
	</div>
	<?php
	}
	else{
		echo '<script> AlarmReveal("../detail/index.php", "You are not the adminstrator.", 180); </script>';
	}
}
?>
</body>
</html>